package vn.orderonline.core.dao;

import java.util.List;

import vn.orderonline.core.dao.common.GenericDao;
import vn.orderonline.core.dao.entity.Food;

public interface FoodDao extends GenericDao<Food, Integer> {

	public Boolean checkExist(Integer menuFoodId, String foodName);

	public List<Object[]> getListFoodByRestaurantIdAndMenuFoodId(Integer resId,
			Integer menuFoodId);

	public Object[] getFood(Integer foodId);

	public List<Object[]> searchFood(Integer resId, String foodName,
			String foodTitle, Float oldPrice, Float newPrice);

}
